import { IFeidaoAiBrowserComponent } from '../../interfaces';
/**
 * 获取存储
 * @param fd 固定参数
 * @param key 键
 */
export default function get<T>(fd: IFeidaoAiBrowserComponent, key: string) {
	const local = fd.data.local;
	return local && local[key] as T;
}
